<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>junglego: main.cpp File Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">junglego
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.8.0 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li class="current"><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="globals.html"><span>File&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div>
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">main.cpp File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<div class="textblock"><code>#include &lt;time.h&gt;</code><br/>
<code>#include &quot;<a class="el" href="gl_helper_8hpp_source.html">glHelper.hpp</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="types_8hpp_source.html">types.hpp</a>&quot;</code><br/>
<code>#include &quot;<a class="el" href="world_8hpp_source.html">world.hpp</a>&quot;</code><br/>
</div><div class="textblock"><div class="dynheader">
Include dependency graph for main.cpp:</div>
<div class="dyncontent">
<div class="center"><img src="main_8cpp__incl.png" border="0" usemap="#main_8cpp" alt=""/></div>
<map name="main_8cpp" id="main_8cpp">
<area shape="rect" id="node5" href="gl_helper_8hpp.html" title="glHelper.hpp" alt="" coords="586,80,680,107"/><area shape="rect" id="node29" href="types_8hpp.html" title="types.hpp" alt="" coords="989,155,1067,181"/><area shape="rect" id="node32" href="world_8hpp.html" title="world.hpp" alt="" coords="931,80,1008,107"/></map>
</div>
</div>
<p><a href="main_8cpp_source.html">Go to the source code of this file.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a6819355374dd277347abd7c4235f0cd7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#a6819355374dd277347abd7c4235f0cd7">reshape</a> (int width, int height)</td></tr>
<tr class="memitem:a2a21db8c995e9afe9718d9cccf050e24"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#a2a21db8c995e9afe9718d9cccf050e24">keyboard_check</a> (unsigned char key, int x, int y)</td></tr>
<tr class="memitem:a36d31d6ec7094a3a659a6a0381c66a60"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#a36d31d6ec7094a3a659a6a0381c66a60">mouse_check</a> (int button, int state, int x, int y)</td></tr>
<tr class="memitem:a1e5b20fed15743656bb6d2e6a6ea6269"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#a1e5b20fed15743656bb6d2e6a6ea6269">display</a> ()</td></tr>
<tr class="memitem:a3e73164d603e05e94b8eedeb557a3245"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#a3e73164d603e05e94b8eedeb557a3245">animate</a> ()</td></tr>
<tr class="memitem:a0be26f297e969c1bec3fabc753fbcee8"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#a0be26f297e969c1bec3fabc753fbcee8">initCore</a> ()</td></tr>
<tr class="memitem:a3c04138a5bfe5d72780bb7e82a18e627"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a> (int argc, char **argv)</td></tr>
<tr><td colspan="2"><h2><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a710b66d6ee2c4396c4fad5f92c8170af"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#a710b66d6ee2c4396c4fad5f92c8170af">CR_NUM</a> = 200</td></tr>
<tr class="memitem:a2bbd088aa4ad488a7f0eb7c8992a606d"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#a2bbd088aa4ad488a7f0eb7c8992a606d">XSize</a> = 1024</td></tr>
<tr class="memitem:a5e4c6461f5ff5ff0b90db0aaea87f99e"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#a5e4c6461f5ff5ff0b90db0aaea87f99e">YSize</a> = 550</td></tr>
<tr class="memitem:ab8ef1bf8a70cc07c6d55823c390a7e76"><td class="memItemLeft" align="right" valign="top">float&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#ab8ef1bf8a70cc07c6d55823c390a7e76">angle</a> = 0.0f</td></tr>
<tr class="memitem:a5e2ce8a619b5c209e179303df57c5028"><td class="memItemLeft" align="right" valign="top"><a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#a5e2ce8a619b5c209e179303df57c5028">gFramesPerSecond</a> = 60</td></tr>
<tr class="memitem:a51cd2dda508b1fc59d6ca73ee7f8b8c9"><td class="memItemLeft" align="right" valign="top">clock_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#a51cd2dda508b1fc59d6ca73ee7f8b8c9">gClock</a></td></tr>
<tr class="memitem:acf57cf6778fa99df637c1826b51026fe"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#acf57cf6778fa99df637c1826b51026fe">doPause</a> = -1</td></tr>
<tr class="memitem:a8524210767eebeb4926a5f30f8bbbb68"><td class="memItemLeft" align="right" valign="top"><a class="el" href="class_world.html">World</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="main_8cpp.html#a8524210767eebeb4926a5f30f8bbbb68">world</a></td></tr>
</table>
<hr/><h2>Function Documentation</h2>
<a class="anchor" id="a3e73164d603e05e94b8eedeb557a3245"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="main_8cpp.html#a3e73164d603e05e94b8eedeb557a3245">animate</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="main_8cpp_source.html#l00096">96</a> of file <a class="el" href="main_8cpp_source.html">main.cpp</a>.</p>

<p>References <a class="el" href="main_8cpp_source.html#l00028">doPause</a>, <a class="el" href="main_8cpp_source.html#l00026">gFramesPerSecond</a>, <a class="el" href="world_8cpp_source.html#l00049">World::update()</a>, and <a class="el" href="main_8cpp_source.html#l00029">world</a>.</p>

<p>Referenced by <a class="el" href="main_8cpp_source.html#l00112">main()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="main_8cpp_a3e73164d603e05e94b8eedeb557a3245_cgraph.png" border="0" usemap="#main_8cpp_a3e73164d603e05e94b8eedeb557a3245_cgraph" alt=""/></div>
<map name="main_8cpp_a3e73164d603e05e94b8eedeb557a3245_cgraph" id="main_8cpp_a3e73164d603e05e94b8eedeb557a3245_cgraph">
<area shape="rect" id="node3" href="class_world.html#aac8c1fde63c06577ffc648aaefdb37f0" title="World::update" alt="" coords="123,56,226,83"/><area shape="rect" id="node5" href="class_creature.html#aee07784fade6640a4dbdc837397b6b5b" title="Creature::move" alt="" coords="275,56,384,83"/><area shape="rect" id="node7" href="class_object.html#a6e06f467ee7f36a5dc067ff698022702" title="Object::getKinematic" alt="" coords="432,5,576,32"/><area shape="rect" id="node9" href="class_object.html#af09fffca261588bbbffc8bbe83bab13f" title="Object::getColour" alt="" coords="443,56,565,83"/><area shape="rect" id="node11" href="class_object.html#ae41a90d5f2c9fb4a3252565396f6b738" title="Object::getRadius" alt="" coords="441,107,567,133"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="main_8cpp_a3e73164d603e05e94b8eedeb557a3245_icgraph.png" border="0" usemap="#main_8cpp_a3e73164d603e05e94b8eedeb557a3245_icgraph" alt=""/></div>
<map name="main_8cpp_a3e73164d603e05e94b8eedeb557a3245_icgraph" id="main_8cpp_a3e73164d603e05e94b8eedeb557a3245_icgraph">
<area shape="rect" id="node3" href="main_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="123,5,173,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a1e5b20fed15743656bb6d2e6a6ea6269"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="main_8cpp.html#a1e5b20fed15743656bb6d2e6a6ea6269">display</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="main_8cpp_source.html#l00092">92</a> of file <a class="el" href="main_8cpp_source.html">main.cpp</a>.</p>

<p>References <a class="el" href="world_8cpp_source.html#l00057">World::paint()</a>, and <a class="el" href="main_8cpp_source.html#l00029">world</a>.</p>

<p>Referenced by <a class="el" href="main_8cpp_source.html#l00112">main()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="main_8cpp_a1e5b20fed15743656bb6d2e6a6ea6269_cgraph.png" border="0" usemap="#main_8cpp_a1e5b20fed15743656bb6d2e6a6ea6269_cgraph" alt=""/></div>
<map name="main_8cpp_a1e5b20fed15743656bb6d2e6a6ea6269_cgraph" id="main_8cpp_a1e5b20fed15743656bb6d2e6a6ea6269_cgraph">
<area shape="rect" id="node3" href="class_world.html#a7fa844c028cf185a5f90359cceeabf7c" title="World::paint" alt="" coords="118,132,210,159"/><area shape="rect" id="node5" href="class_creature.html#a4e16b04f8a7a0fb76d1da13a671a3d2a" title="Creature::paint" alt="" coords="277,107,384,133"/><area shape="rect" id="node15" href="class_world.html#a1b037e6b00d93bac9ec7db5a1217e4fc" title="World::applyCollision" alt="" coords="259,157,403,184"/><area shape="rect" id="node7" href="class_object.html#af09fffca261588bbbffc8bbe83bab13f" title="Object::getColour" alt="" coords="461,5,584,32"/><area shape="rect" id="node9" href="class_object.html#a6e06f467ee7f36a5dc067ff698022702" title="Object::getKinematic" alt="" coords="451,107,595,133"/><area shape="rect" id="node11" href="gl_helper_8cpp.html#af09d4e544e73d211b48d2f6adc044a08" title="drawCircle" alt="" coords="481,56,564,83"/><area shape="rect" id="node13" href="class_object.html#ae41a90d5f2c9fb4a3252565396f6b738" title="Object::getRadius" alt="" coords="459,157,586,184"/><area shape="rect" id="node18" href="gl_helper_8hpp.html#a0e15415718a6e1b6bb503e99e3e3f1f6" title="getMag" alt="" coords="490,208,555,235"/><area shape="rect" id="node21" href="gl_helper_8hpp.html#acda2c0df466197df16279cde740ead0f" title="dotProduct" alt="" coords="480,259,565,285"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="main_8cpp_a1e5b20fed15743656bb6d2e6a6ea6269_icgraph.png" border="0" usemap="#main_8cpp_a1e5b20fed15743656bb6d2e6a6ea6269_icgraph" alt=""/></div>
<map name="main_8cpp_a1e5b20fed15743656bb6d2e6a6ea6269_icgraph" id="main_8cpp_a1e5b20fed15743656bb6d2e6a6ea6269_icgraph">
<area shape="rect" id="node3" href="main_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="117,5,168,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a0be26f297e969c1bec3fabc753fbcee8"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="main_8cpp.html#a0be26f297e969c1bec3fabc753fbcee8">initCore</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="main_8cpp_source.html#l00108">108</a> of file <a class="el" href="main_8cpp_source.html">main.cpp</a>.</p>

<p>References <a class="el" href="main_8cpp_source.html#l00020">CR_NUM</a>, <a class="el" href="world_8cpp_source.html#l00010">World::init()</a>, <a class="el" href="main_8cpp_source.html#l00029">world</a>, <a class="el" href="main_8cpp_source.html#l00021">XSize</a>, and <a class="el" href="main_8cpp_source.html#l00022">YSize</a>.</p>

<p>Referenced by <a class="el" href="main_8cpp_source.html#l00112">main()</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="main_8cpp_a0be26f297e969c1bec3fabc753fbcee8_cgraph.png" border="0" usemap="#main_8cpp_a0be26f297e969c1bec3fabc753fbcee8_cgraph" alt=""/></div>
<map name="main_8cpp_a0be26f297e969c1bec3fabc753fbcee8_cgraph" id="main_8cpp_a0be26f297e969c1bec3fabc753fbcee8_cgraph">
<area shape="rect" id="node3" href="class_world.html#a695e14e5574f9bbdf58c8f39538b11d3" title="World::init" alt="" coords="121,81,202,108"/><area shape="rect" id="node5" href="class_creature.html#ae109a8875e1906f4ffee7bf3b8ba479c" title="Creature::init" alt="" coords="267,56,363,83"/><area shape="rect" id="node9" href="class_object.html#af09fffca261588bbbffc8bbe83bab13f" title="Object::getColour" alt="" coords="437,5,560,32"/><area shape="rect" id="node11" href="class_object.html#a6e06f467ee7f36a5dc067ff698022702" title="Object::getKinematic" alt="" coords="427,107,571,133"/><area shape="rect" id="node14" href="class_object.html#ae41a90d5f2c9fb4a3252565396f6b738" title="Object::getRadius" alt="" coords="251,157,378,184"/><area shape="rect" id="node7" href="class_object.html#a21ffb1c449600ac2cd2afb1aefdc5bde" title="Object::setRadius" alt="" coords="435,56,562,83"/></map>
</div>
</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="main_8cpp_a0be26f297e969c1bec3fabc753fbcee8_icgraph.png" border="0" usemap="#main_8cpp_a0be26f297e969c1bec3fabc753fbcee8_icgraph" alt=""/></div>
<map name="main_8cpp_a0be26f297e969c1bec3fabc753fbcee8_icgraph" id="main_8cpp_a0be26f297e969c1bec3fabc753fbcee8_icgraph">
<area shape="rect" id="node3" href="main_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="120,5,171,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a2a21db8c995e9afe9718d9cccf050e24"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="main_8cpp.html#a2a21db8c995e9afe9718d9cccf050e24">keyboard_check</a> </td>
          <td>(</td>
          <td class="paramtype">unsigned char&#160;</td>
          <td class="paramname"><em>key</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="main_8cpp_source.html#l00051">51</a> of file <a class="el" href="main_8cpp_source.html">main.cpp</a>.</p>

<p>References <a class="el" href="main_8cpp_source.html#l00028">doPause</a>.</p>

<p>Referenced by <a class="el" href="main_8cpp_source.html#l00112">main()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="main_8cpp_a2a21db8c995e9afe9718d9cccf050e24_icgraph.png" border="0" usemap="#main_8cpp_a2a21db8c995e9afe9718d9cccf050e24_icgraph" alt=""/></div>
<map name="main_8cpp_a2a21db8c995e9afe9718d9cccf050e24_icgraph" id="main_8cpp_a2a21db8c995e9afe9718d9cccf050e24_icgraph">
<area shape="rect" id="node3" href="main_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="171,5,221,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a3c04138a5bfe5d72780bb7e82a18e627"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="_test_parser_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627">main</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>argc</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">char **&#160;</td>
          <td class="paramname"><em>argv</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Do stuff here </p>

<p>Definition at line <a class="el" href="main_8cpp_source.html#l00112">112</a> of file <a class="el" href="main_8cpp_source.html">main.cpp</a>.</p>

<p>References <a class="el" href="main_8cpp_source.html#l00096">animate()</a>, <a class="el" href="main_8cpp_source.html#l00092">display()</a>, <a class="el" href="main_8cpp_source.html#l00027">gClock</a>, <a class="el" href="main_8cpp_source.html#l00108">initCore()</a>, <a class="el" href="main_8cpp_source.html#l00051">keyboard_check()</a>, <a class="el" href="main_8cpp_source.html#l00072">mouse_check()</a>, <a class="el" href="main_8cpp_source.html#l00031">reshape()</a>, <a class="el" href="main_8cpp_source.html#l00021">XSize</a>, and <a class="el" href="main_8cpp_source.html#l00022">YSize</a>.</p>

<p><div class="dynheader">
Here is the call graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="main_8cpp_a3c04138a5bfe5d72780bb7e82a18e627_cgraph.png" border="0" usemap="#main_8cpp_a3c04138a5bfe5d72780bb7e82a18e627_cgraph" alt=""/></div>
<map name="main_8cpp_a3c04138a5bfe5d72780bb7e82a18e627_cgraph" id="main_8cpp_a3c04138a5bfe5d72780bb7e82a18e627_cgraph">
<area shape="rect" id="node3" href="main_8cpp.html#a3e73164d603e05e94b8eedeb557a3245" title="animate" alt="" coords="129,208,197,235"/><area shape="rect" id="node15" href="main_8cpp.html#a1e5b20fed15743656bb6d2e6a6ea6269" title="display" alt="" coords="131,157,194,184"/><area shape="rect" id="node34" href="gl_helper_8hpp.html#a0be26f297e969c1bec3fabc753fbcee8" title="initCore" alt="" coords="129,259,196,285"/><area shape="rect" id="node47" href="main_8cpp.html#a2a21db8c995e9afe9718d9cccf050e24" title="keyboard_check" alt="" coords="104,309,221,336"/><area shape="rect" id="node49" href="main_8cpp.html#a36d31d6ec7094a3a659a6a0381c66a60" title="mouse_check" alt="" coords="111,360,214,387"/><area shape="rect" id="node51" href="main_8cpp.html#a6819355374dd277347abd7c4235f0cd7" title="reshape" alt="" coords="129,411,197,437"/><area shape="rect" id="node5" href="class_world.html#aac8c1fde63c06577ffc648aaefdb37f0" title="World::update" alt="" coords="270,208,373,235"/><area shape="rect" id="node7" href="class_creature.html#aee07784fade6640a4dbdc837397b6b5b" title="Creature::move" alt="" coords="439,208,548,235"/><area shape="rect" id="node9" href="class_object.html#a6e06f467ee7f36a5dc067ff698022702" title="Object::getKinematic" alt="" coords="613,208,757,235"/><area shape="rect" id="node11" href="class_object.html#af09fffca261588bbbffc8bbe83bab13f" title="Object::getColour" alt="" coords="624,259,747,285"/><area shape="rect" id="node13" href="class_object.html#ae41a90d5f2c9fb4a3252565396f6b738" title="Object::getRadius" alt="" coords="622,107,749,133"/><area shape="rect" id="node17" href="class_world.html#a7fa844c028cf185a5f90359cceeabf7c" title="World::paint" alt="" coords="275,157,367,184"/><area shape="rect" id="node19" href="class_creature.html#a4e16b04f8a7a0fb76d1da13a671a3d2a" title="Creature::paint" alt="" coords="440,157,547,184"/><area shape="rect" id="node26" href="class_world.html#a1b037e6b00d93bac9ec7db5a1217e4fc" title="World::applyCollision" alt="" coords="421,56,565,83"/><area shape="rect" id="node23" href="gl_helper_8cpp.html#af09d4e544e73d211b48d2f6adc044a08" title="drawCircle" alt="" coords="644,157,727,184"/><area shape="rect" id="node29" href="gl_helper_8hpp.html#a0e15415718a6e1b6bb503e99e3e3f1f6" title="getMag" alt="" coords="653,56,718,83"/><area shape="rect" id="node32" href="gl_helper_8hpp.html#acda2c0df466197df16279cde740ead0f" title="dotProduct" alt="" coords="643,5,728,32"/><area shape="rect" id="node36" href="class_world.html#a695e14e5574f9bbdf58c8f39538b11d3" title="World::init" alt="" coords="281,259,362,285"/><area shape="rect" id="node38" href="class_creature.html#ae109a8875e1906f4ffee7bf3b8ba479c" title="Creature::init" alt="" coords="445,309,541,336"/><area shape="rect" id="node40" href="class_object.html#a21ffb1c449600ac2cd2afb1aefdc5bde" title="Object::setRadius" alt="" coords="622,309,749,336"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a36d31d6ec7094a3a659a6a0381c66a60"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="main_8cpp.html#a36d31d6ec7094a3a659a6a0381c66a60">mouse_check</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>button</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>state</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>y</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="main_8cpp_source.html#l00072">72</a> of file <a class="el" href="main_8cpp_source.html">main.cpp</a>.</p>

<p>Referenced by <a class="el" href="main_8cpp_source.html#l00112">main()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="main_8cpp_a36d31d6ec7094a3a659a6a0381c66a60_icgraph.png" border="0" usemap="#main_8cpp_a36d31d6ec7094a3a659a6a0381c66a60_icgraph" alt=""/></div>
<map name="main_8cpp_a36d31d6ec7094a3a659a6a0381c66a60_icgraph" id="main_8cpp_a36d31d6ec7094a3a659a6a0381c66a60_icgraph">
<area shape="rect" id="node3" href="main_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="157,5,208,32"/></map>
</div>
</p>

</div>
</div>
<a class="anchor" id="a6819355374dd277347abd7c4235f0cd7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="main_8cpp.html#a6819355374dd277347abd7c4235f0cd7">reshape</a> </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="main_8cpp_source.html#l00031">31</a> of file <a class="el" href="main_8cpp_source.html">main.cpp</a>.</p>

<p>Referenced by <a class="el" href="main_8cpp_source.html#l00112">main()</a>.</p>

<p><div class="dynheader">
Here is the caller graph for this function:</div>
<div class="dyncontent">
<div class="center"><img src="main_8cpp_a6819355374dd277347abd7c4235f0cd7_icgraph.png" border="0" usemap="#main_8cpp_a6819355374dd277347abd7c4235f0cd7_icgraph" alt=""/></div>
<map name="main_8cpp_a6819355374dd277347abd7c4235f0cd7_icgraph" id="main_8cpp_a6819355374dd277347abd7c4235f0cd7_icgraph">
<area shape="rect" id="node3" href="main_8cpp.html#a3c04138a5bfe5d72780bb7e82a18e627" title="main" alt="" coords="123,5,173,32"/></map>
</div>
</p>

</div>
</div>
<hr/><h2>Variable Documentation</h2>
<a class="anchor" id="ab8ef1bf8a70cc07c6d55823c390a7e76"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">float <a class="el" href="main_8cpp.html#ab8ef1bf8a70cc07c6d55823c390a7e76">angle</a> = 0.0f</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="main_8cpp_source.html#l00025">25</a> of file <a class="el" href="main_8cpp_source.html">main.cpp</a>.</p>

<p>Referenced by <a class="el" href="gl_helper_8cpp_source.html#l00036">drawCrap()</a>.</p>

</div>
</div>
<a class="anchor" id="a710b66d6ee2c4396c4fad5f92c8170af"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> <a class="el" href="main_8cpp.html#a710b66d6ee2c4396c4fad5f92c8170af">CR_NUM</a> = 200</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="main_8cpp_source.html#l00020">20</a> of file <a class="el" href="main_8cpp_source.html">main.cpp</a>.</p>

<p>Referenced by <a class="el" href="main_8cpp_source.html#l00108">initCore()</a>.</p>

</div>
</div>
<a class="anchor" id="acf57cf6778fa99df637c1826b51026fe"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int <a class="el" href="main_8cpp.html#acf57cf6778fa99df637c1826b51026fe">doPause</a> = -1</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="main_8cpp_source.html#l00028">28</a> of file <a class="el" href="main_8cpp_source.html">main.cpp</a>.</p>

<p>Referenced by <a class="el" href="main_8cpp_source.html#l00096">animate()</a>, and <a class="el" href="main_8cpp_source.html#l00051">keyboard_check()</a>.</p>

</div>
</div>
<a class="anchor" id="a51cd2dda508b1fc59d6ca73ee7f8b8c9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">clock_t <a class="el" href="main_8cpp.html#a51cd2dda508b1fc59d6ca73ee7f8b8c9">gClock</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="main_8cpp_source.html#l00027">27</a> of file <a class="el" href="main_8cpp_source.html">main.cpp</a>.</p>

<p>Referenced by <a class="el" href="main_8cpp_source.html#l00112">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a5e2ce8a619b5c209e179303df57c5028"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> <a class="el" href="main_8cpp.html#a5e2ce8a619b5c209e179303df57c5028">gFramesPerSecond</a> = 60</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="main_8cpp_source.html#l00026">26</a> of file <a class="el" href="main_8cpp_source.html">main.cpp</a>.</p>

<p>Referenced by <a class="el" href="main_8cpp_source.html#l00096">animate()</a>.</p>

</div>
</div>
<a class="anchor" id="a8524210767eebeb4926a5f30f8bbbb68"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="class_world.html">World</a> <a class="el" href="main_8cpp.html#a8524210767eebeb4926a5f30f8bbbb68">world</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="main_8cpp_source.html#l00029">29</a> of file <a class="el" href="main_8cpp_source.html">main.cpp</a>.</p>

<p>Referenced by <a class="el" href="main_8cpp_source.html#l00096">animate()</a>, <a class="el" href="main_8cpp_source.html#l00092">display()</a>, and <a class="el" href="main_8cpp_source.html#l00108">initCore()</a>.</p>

</div>
</div>
<a class="anchor" id="a2bbd088aa4ad488a7f0eb7c8992a606d"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> <a class="el" href="main_8cpp.html#a2bbd088aa4ad488a7f0eb7c8992a606d">XSize</a> = 1024</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="main_8cpp_source.html#l00021">21</a> of file <a class="el" href="main_8cpp_source.html">main.cpp</a>.</p>

<p>Referenced by <a class="el" href="main_8cpp_source.html#l00108">initCore()</a>, and <a class="el" href="main_8cpp_source.html#l00112">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a5e4c6461f5ff5ff0b90db0aaea87f99e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">const <a class="el" href="types_8hpp.html#a91ad9478d81a7aaf2593e8d9c3d06a14">uint</a> <a class="el" href="main_8cpp.html#a5e4c6461f5ff5ff0b90db0aaea87f99e">YSize</a> = 550</td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Definition at line <a class="el" href="main_8cpp_source.html#l00022">22</a> of file <a class="el" href="main_8cpp_source.html">main.cpp</a>.</p>

<p>Referenced by <a class="el" href="main_8cpp_source.html#l00108">initCore()</a>, and <a class="el" href="main_8cpp_source.html#l00112">main()</a>.</p>

</div>
</div>
</div><!-- contents -->


<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 20 2012 21:57:14 for junglego by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.0
</small></address>

</body>
</html>
